package ln.gather.jsr.common.util;

import java.io.IOException;

/**
 * 类序列化接口
 */
public interface Serializer<S> {

    byte[] serialize(S source) throws IOException;

}
